package com.computercourse.ucenter.dao;


import com.computercourse.framework.domain.ucenter.CicCompanyUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @description
 * @author Feng.Yuan
 * @date 2020/2/1 5:21 下午
 * @param null
 * @return
 */
public interface CicCompanyUserRepository extends JpaRepository<CicCompanyUser,String> {
    //根据用户id查询该用户所属的公司id
    CicCompanyUser findByUserId(String userId);
}
